<script>
import { mapGetters, mapState, mapMutations,mapActions  } from "vuex";
export default {
  computed: {
    ...mapState({
        "name":state => state.detail.name
        // ...
    })
  },
  methods: {
    
    ...mapActions(["actionsIncrement"])  
  },
  created() {
    this.actionsIncrement(100000);
    this.$store.dispatch("actionFn")
    this.$store.commit("mutationsFn")
    console.log(202020202020)
  }
};
</script>



<template>

<div>
    
    大家好，&nbsp;&nbsp;我是&nbsp;详情
    <p>name:{{name}}</p>
</div>
  
</template>



<style lang="stylus">
</style>
